from flask import Flask
app = Flask('test')

@app.route('/ping',methods=['GET'])
def ping():
    return 'PONG'

@app.route('/')
def index():
    return 'hello index'

if __name__ =='__main__':
    app.run(debug=True,host='127.0.0.1',port=9696)